
var OTDocument = function() {
	var me = this;

	me.data = {
		pgs: [],
		cnt: 0
	}
};

OTDocument.prototype = {
	addPage: function(p) {
		var me = this;
		me.data.pgs[me.data.cnt] = p;
		me.data.cnt++;
		console.log("document.add");
	},
	removePage: function() {
		var me = this;
		me.data.cnt--;
		console.log("document.remove");
	}
};
